﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Content;

namespace KduneeShaders
{
    /// <summary>
    /// Shader nie uwzględniający oświetlenia
    /// </summary>
    public class UnlitShader : GeneralShader
    {
        /// <summary>
        /// Konstruktor shadera
        /// </summary>
        /// <param name="content">Menadżer danych</param>
        /// <param name="diffuse">Tekstura diffuse</param>
        public UnlitShader(ContentManager content, Texture2D diffuse)
            : base(content.Load<Effect>(ShadersConfig.SHADERS_PATH + @"unlit"))
        {
            Diffuse = diffuse;
            this.CurrentTechnique = this.Techniques[0];
        }
    }
}
